﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CanDichVu.Db;
using CanDichVu.Db.Entity;

namespace CanDichVu.Service.Iservice
{
    public interface ICate
    {
        int addorUpdate(ChuyenMuc entity);
        List<ChuyenMuc> GetAllCategories();
        List<ChuyenMuc> getListByParent(int cateid);
        ChuyenMuc GetById(int id);
        bool detele(int id);
        List<ListEntityDorpList> ListCateAllDorp(int nhomcha);
        List<ChuyenMuc> GetAllSetFooter();
    }
}
